#include "led.h"


static struct led_device_data red_device={
    {
        2,3,
    },
    {
        GPIOB_BASE,5,GPIO_MODE_OUTPUT_PP,GPIO_SPEED_FREQ_HIGH,GPIO_PULLUP,
    },
    0,
    -1,
    -1,
};

static struct device led_red_device={
    "/dev/red_led",
    "led",
     0,
    NULL,
    (sj_void *)&red_device,
};

static struct led_device_data green_device={
    {
        2,6,
    },
    {
        GPIOE_BASE,5,GPIO_MODE_OUTPUT_PP,GPIO_SPEED_FREQ_HIGH,GPIO_PULLUP,
    },
    0,
    -1,
    -1,
};

static struct device led_green_device={
    "/dev/green_led",
    "led",
     0,
    NULL,
    (sj_void *)&green_device,
};


static DEVICE_MODULE_INIT(led_green_device)
static DEVICE_MODULE_INIT(led_red_device)
